package com.ytkj.digitalConstruction.enums.exception;

import com.ytkj.digitalConstruction.enums.IResultEnumRole;

public enum ExceptionMsgEnum implements IResultEnumRole{

	/**
	 * 参数异常
	 */
	PARAM_INVALID(-1, "参数异常");
	
	private Integer code;
	
	private String msg;
	
	ExceptionMsgEnum(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	
	@Override
	public Integer getCode() {
		return code;
	}

	@Override
	public String getMsg() {
		return msg;
	}
}
